package com.chinacoal.hr.levelapi.controller;

import com.chinacoal.hr.levelapi.client.fallback.FileServiceClientFallback;
import com.chinacoal.hr.levelapi.client.response.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignAutoConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@Api(tags = {"本地文件管理接口"})
@FeignClient(name = "ccip-hr-attendance1", configuration = FeignAutoConfiguration.class, fallback = FileServiceClientFallback.class)
public interface FileServiceClient {

    @ApiOperation("测试文件url")
    @GetMapping("/filees3")
    public Result testFile();
}
